package com.syx.service.impl;

import com.syx.dao.BmbDao;
import com.syx.entity.User;
import com.syx.service.BmbService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class BmbServiceImpl implements BmbService {
    @Resource
    private BmbDao bmbDao;

    @Override
    public List login(User user) {
        return bmbDao.login(user);
    }

    @Override
    public List bmbList(Map map) {
        return bmbDao.bmbList(map);
    }
}
